package com.hsnn.medstgmini.pro.project.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @category 采购项目药品目录日志
 * @author 陈镜宇
 * @date   2015-06-11
 */
@Entity
@Table(name = "bid_projdrugs_log")
public class BidProjdrugsLog implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 5917956792212997229L;
	private String logId;
	private String projDrugId;
	private String projId;
	private String drugId;
	private Short status;
	private Timestamp updDatetime;
	private String updUser;

	// Constructors

	/** default constructor */
	public BidProjdrugsLog() {
	}

	/** minimal constructor */
	public BidProjdrugsLog(String logId, String projDrugId) {
		this.logId = logId;
		this.projDrugId = projDrugId;
	}

	/** full constructor */
	public BidProjdrugsLog(String logId, String projDrugId, String projId,
			String drugId, Short status, Timestamp updDatetime, String updUser) {
		this.logId = logId;
		this.projDrugId = projDrugId;
		this.projId = projId;
		this.drugId = drugId;
		this.status = status;
		this.updDatetime = updDatetime;
		this.updUser = updUser;
	}

	// Property accessors
	@Id
	@Column(name = "log_id", unique = true, nullable = false, length = 36)
	public String getLogId() {
		return this.logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	@Column(name = "proj_drug_id", nullable = false, length = 36)
	public String getProjDrugId() {
		return this.projDrugId;
	}

	public void setProjDrugId(String projDrugId) {
		this.projDrugId = projDrugId;
	}

	@Column(name = "proj_id", length = 36)
	public String getProjId() {
		return this.projId;
	}

	public void setProjId(String projId) {
		this.projId = projId;
	}

	@Column(name = "drug_id", length = 36)
	public String getDrugId() {
		return this.drugId;
	}

	public void setDrugId(String drugId) {
		this.drugId = drugId;
	}

	@Column(name = "status")
	public Short getStatus() {
		return this.status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	@Column(name = "upd_datetime", length = 19)
	public Timestamp getUpdDatetime() {
		return this.updDatetime;
	}

	public void setUpdDatetime(Timestamp updDatetime) {
		this.updDatetime = updDatetime;
	}

	@Column(name = "upd_user", length = 36)
	public String getUpdUser() {
		return this.updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

}